﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.Authorization.Domain.Model.Authority
{
    /// <summary>
    /// 菜单表
    /// </summary>
    [Table("MenuList")]
    public class MenuList
    {
        /// <summary>
        /// 菜单Id
        /// </summary>
        [Key]
        public int MenuId { get; set; }
        /// <summary>
        /// 菜单名称
        /// </summary>
        public string? MenuName { get; set; }
        /// <summary>
        /// 路径名称
        /// </summary>
        public string? Path { get; set; }
        /// <summary>
        /// 菜单图标
        /// </summary>
        public string? MenuIcon { get; set; }
        /// <summary>
        /// 父级Id
        /// </summary>
        public int PId { get; set; }
    }
}
